home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 22 / AMUG_22-1.ISO / Files / Internet / Web Things / HTML 201.sit / HTML 201 / HTML 201.rsrc / TEXT_141.txt < prev    next >
Encoding:
Text File  |  1996-03-13  |  1.4 KB  |  44 lines

  1.  
  2.  
  3. Drill 9
  4.  
  5. Center tags
  6.  
  7. I will center the text at the top of the document resume.html. This is the text (I use section headers to make it distinctive):
  8.  
  9. <H1>George A. Brothers Jr.</H1>
  10. <H3>1639 Boulder St.</H3>
  11. <H3>Rapid City, SD 57702</H3>
  12. <H3>605-343-1275</H3>
  13.  
  14. To center all of the text I just insert the opening and closing center tags:
  15.  
  16. <CENTER> ----------------------------> opening center tag
  17. <H1>George A. Brothers Jr.</H1>
  18. <H3>1639 Boulder St.</H3>
  19. <H3>Rapid City, SD 57702</H3>
  20. <H3>605-343-1275</H3>
  21. </CENTER> --------------------------> closing center tag
  22.  
  23. After I save the document and open it with my browser the text will be centered on the page.
  24.  
  25. ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  26.  
  27. Modifying the background, et al.
  28.  
  29. Instead of keeping the default background of gray in the document resume.html, I want the background to be white.So instead of just using the plain body tags:
  30.  
  31. <BODY> </BODY>
  32.  
  33. I use this code:
  34.  
  35. <BODY BGCOLOR="#ffffff" TEXT="#000000" LINK="#0000a0" VLINK="#ff0000">  </BODY>
  36.  
  37. #ffffff will change the background to white. My text will stay black, links will be blue and visited links will be red.
  38.  
  39. Take a look at the top of resume.html to see where this code fits in.
  40.  
  41. I will give some hexidecimal numbers/code in the reference section after this drill.
  42.  
  43. On to reference and tips.
  44.